package com.free.provider.spi.Impl;

import com.free.provider.spi.IUserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component
@Service(interfaceClass = IUserService.class,timeout = 15000)
public class UserService implements IUserService {
    @Override
    public String getBy(int id) {
        return id + "";
    }
}
